package model.info;

import java.util.ArrayList;
import java.util.Hashtable;


public class MapWay {

	private String id;
	private ArrayList<MapNode> nodes;
	private Hashtable<String,String> data;
	
	public MapWay(String id) {
		
		this.id = id;
		nodes = new ArrayList<MapNode>();
		data = new Hashtable<String,String>();
	}

	public ArrayList<MapNode> getNodes() {
		return nodes;
	}

	public void setNodes(ArrayList<MapNode> nodes) {
		this.nodes = nodes;
	}

	public Hashtable<String,String> getData() {
		return data;
	}

	public void setData(Hashtable<String,String> data) {
		this.data = data;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}
